Configuring Movie Data Import Components
Your component may provide one or more configuration functions. These functions allow applications to configure your component before the Movie Toolbox calls your component to start the import process. Note that applications may call these functions directly.All of these functions are optional. If your component receives a request that it does not support, you should return the
badComponentSelector
error code. In addition, your component should work properly even if none of these functions is called.These functions address a variety of configuration issues. The
MovieImportSetSampleDuration
function allows an application to set
your component's sample duration. Use theMovieImportSetDuration
function to control the duration of the imported data. Applications can use theMovieImportSetDimensions
function to specify the spatial dimensions of a new track. Use theMovieImportSetSampleDescription
function to supply a sample description structure to your movie data import component.The
MovieImportSetMediaFile
function allows applications to direct your component's output to a specific media file. Applications can provide additional data to your component by calling theMovieImportSetAuxiliaryData
function. TheMovieImportSetChunkSize
function allows applications to control the chunk size in the new media. Applications can inform you that the source data came from the scrap by calling yourMovieImportSetFromScrap
function.Applications can specify a progress function for use by your component by calling the
MovieImportSetProgressProc
function.Applications can instruct your component to display its user dialog box by calling the
MovieImportDoUserDialog
function.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help